package com.cody.service;

import com.cody.entity.Passage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Cody
 * @date 2021/4/8 - 15:09
 */
public interface PassageService {
    List<Passage> queryAllPassage();
    List<Passage> queryCommentByKeyword( String keyword);
    Passage querySinglePassage(Integer passageId);
    Boolean insertPassage(Passage passage );
    boolean updPassageInfo(Passage passage );
    boolean delPassageByPassageId(Integer passageId);
}
